#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <string>
using namespace std;

class Person
{
public:
	void set_name(string new_name)
	{
		name = new_name;
	}
	string get_name()
	{
		return name;
	}
	short get_age()
	{
		return age;
	}
	void set_idol(string i_name)
	{
		idol = i_name;
	}
private:
	string name;  // Readable and writable
	string idol;  // Only writable
	short age = 18;	  // Only readable

};
int main()
{
	Person p1;
	p1.set_name("Roge");
	cout << p1.get_name() << endl;
	cout << p1.get_age() << endl;
	p1.set_idol("NMIXX");

	return 0;
}